package cn.wolfcode.wolf2w.service;

import cn.wolfcode.wolf2w.domain.Personal;
import cn.wolfcode.wolf2w.query.PersonalQuery;
import org.springframework.data.domain.Page;

import java.util.List;

public interface IPersonalService {
    void save(Personal personal);
    void delete(String id);
    Personal get(String id);
    List<Personal> list();


    /**
     * 分页查询
     * @param qo
     * @return
     */
    Page<Personal> query(PersonalQuery qo);


    Personal getByUserId(String UserId);
}
